package com.lh.web.service.serviceAdmin.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Reason;
import com.lh.common.entity.admin.ReturnAddress;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author FH
 * @ClassName: ReasonService
 * @Description: (类作用)
 * @date: 2020-05-20 9:58
 */
public interface ReasonService extends IService<Reason> {

    PageUtils queryReasonList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    int insertReason(Reason reason);

    int updateReason(Reason reason);

    PageUtils queryReturnAddressList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    int insertReturnAddress(ReturnAddress reason);

    int updateReturnAddress(ReturnAddress reason);

    int updateReasonStatus(Map<String, Object> param);

    int updateReturnAddressStatus(Map<String, Object> param);
}
